﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RestFulService.pad
{
    //服饰--外卖订单查询
    public class padshopord
    {
        /// <summary>
        /// 
        /// </summary>
        public int code { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string msg { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public List<WMHeadObject> tranhead { get; set; }

        public class WMHeadObject
        {
            /// <summary>
            /// 
            /// </summary>
            public int orderid { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string orderno { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string orderdate { get; set; }
            /// <summary>
            /// 外卖渠道: 1 美团/2 饿了么/ 3 商城
            /// </summary>
            public string orderstye { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string vipno { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string vipname { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string telno { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public decimal orderamt { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string ordertype { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string ordertime { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string address { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string memo { get; set; }
            /// <summary>
            ///  0:未处理 / 1:已接单 / 2:已取消
            /// </summary>
            public int orderstate { get; set; }

            /// <summary>
            /// 
            /// </summary>
            public List<WMDtlObject> trandtl { get; set; }
        }

        public class WMDtlObject
        {
            /// <summary>
            /// 
            /// </summary>
            public int line { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string pluno { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string pluname { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public decimal pluprice { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int qty { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public decimal discount { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public decimal amt { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string colorname { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string sizename { get; set; }
        }
    }

    
}
